home *** CD-ROM | disk | FTP | other *** search
/ MacHome 2001 January / MacHome Magazine Demo Disc January 2001.iso / mac / Software / Utilities / Red Bird's Quick Scripts.sea / Red Bird's Quick Scripts / Download Deleter / Download Deleter.as next >
MacBinary  |  2000-08-08  |  4.1 KB  |  [TEXT/ToyS]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Download Deleter.as

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Audio Sculpture Module (music/audioSculpture) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert WinAsks Player compiled app (other/winAsksPlayerCompiledApp) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue Aug 8 18:29:35 2000, modified Tue Aug 8 18:29:35 2000, creator 'ToyS', type ASCII, 3621 bytes "Download Deleter.as" , at 0xea5 380 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ToyS]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 44 6f 77 6e 6c 6f | 61 64 20 44 65 6c 65 74 |..Downlo|ad Delet|
|00000010| 65 72 2e 61 73 00 00 00 | 00 00 00 00 00 00 00 00 |er.as...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 54 6f 79 | 53 01 00 00 00 00 00 00 |.TEXTToy|S.......|
|00000050| 00 00 00 00 00 0e 25 00 | 00 01 7c b5 b6 3a 4f b5 |......%.|..|..:O.|
|00000060| b6 3a 4f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.:O.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c4 86 00 00 |........|........|
|00000080| 28 2a 0d 44 6f 77 6e 6c | 6f 61 64 20 44 65 6c 65 |(*.Downl|oad Dele|
|00000090| 74 65 72 20 30 2e 31 3a | 20 20 47 65 74 73 20 72 |ter 0.1:| Gets r|
|000000a0| 69 64 65 20 6f 66 20 63 | 6f 6d 70 72 65 73 73 65 |ide of c|ompresse|
|000000b0| 64 20 61 6e 64 20 61 72 | 63 68 69 76 65 64 20 66 |d and ar|chived f|
|000000c0| 69 6c 65 73 20 61 66 74 | 65 72 20 74 68 65 79 20 |iles aft|er they |
|000000d0| 68 61 76 65 20 62 65 65 | 6e 20 64 6f 77 6e 6c 6f |have bee|n downlo|
|000000e0| 61 64 65 64 20 61 6e 64 | 20 65 78 74 72 61 63 74 |aded and| extract|
|000000f0| 65 64 2e 0d 43 6f 70 79 | 72 69 67 68 74 20 28 43 |ed..Copy|right (C|
|00000100| 29 20 32 30 30 30 20 47 | 6f 72 64 6f 6e 20 57 6f |) 2000 G|ordon Wo|
|00000110| 72 6c 65 79 2e 0d 0d 54 | 68 69 73 20 70 72 6f 67 |rley...T|his prog|
|00000120| 72 61 6d 20 69 73 20 66 | 72 65 65 20 73 6f 66 74 |ram is f|ree soft|
|00000130| 77 61 72 65 3b 20 79 6f | 75 20 63 61 6e 20 72 65 |ware; yo|u can re|
|00000140| 64 69 73 74 72 69 62 75 | 74 65 20 69 74 20 61 6e |distribu|te it an|
|00000150| 64 2f 6f 72 20 6d 6f 64 | 69 66 79 20 69 74 20 75 |d/or mod|ify it u|
|00000160| 6e 64 65 72 20 74 68 65 | 20 74 65 72 6d 73 20 6f |nder the| terms o|
|00000170| 66 20 74 68 65 20 47 4e | 55 20 47 65 6e 65 72 61 |f the GN|U Genera|
|00000180| 6c 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |l Public| License|
|00000190| 20 61 73 20 70 75 62 6c | 69 73 68 65 64 20 62 79 | as publ|ished by|
|000001a0| 20 74 68 65 20 46 72 65 | 65 20 53 6f 66 74 77 61 | the Fre|e Softwa|
|000001b0| 72 65 20 46 6f 75 6e 64 | 61 74 69 6f 6e 3b 20 65 |re Found|ation; e|
|000001c0| 69 74 68 65 72 20 76 65 | 72 73 69 6f 6e 20 32 20 |ither ve|rsion 2 |
|000001d0| 6f 66 20 74 68 65 20 4c | 69 63 65 6e 73 65 2c 20 |of the L|icense, |
|000001e0| 6f 72 20 61 6e 79 20 6c | 61 74 65 72 20 76 65 72 |or any l|ater ver|
|000001f0| 73 69 6f 6e 2e 0d 0d 54 | 68 69 73 20 70 72 6f 67 |sion...T|his prog|
|00000200| 72 61 6d 20 69 73 20 64 | 69 73 74 72 69 62 75 74 |ram is d|istribut|
|00000210| 65 64 20 69 6e 20 74 68 | 65 20 68 6f 70 65 20 74 |ed in th|e hope t|
|00000220| 68 61 74 20 69 74 20 77 | 69 6c 6c 20 62 65 20 75 |hat it w|ill be u|
|00000230| 73 65 66 75 6c 2c 20 62 | 75 74 20 57 49 54 48 4f |seful, b|ut WITHO|
|00000240| 55 54 20 41 4e 59 20 57 | 41 52 52 41 4e 54 59 3b |UT ANY W|ARRANTY;|
|00000250| 20 77 69 74 68 6f 75 74 | 20 65 76 65 6e 20 74 68 | without| even th|
|00000260| 65 20 69 6d 70 6c 69 65 | 64 20 77 61 72 72 61 6e |e implie|d warran|
|00000270| 74 79 20 6f 66 20 4d 45 | 52 43 48 41 4e 54 41 42 |ty of ME|RCHANTAB|
|00000280| 49 4c 49 54 59 20 6f 72 | 20 46 49 54 4e 45 53 53 |ILITY or| FITNESS|
|00000290| 20 46 4f 52 20 41 20 50 | 41 52 54 49 43 55 4c 41 | FOR A P|ARTICULA|
|000002a0| 52 20 50 55 52 50 4f 53 | 45 2e 20 53 65 65 20 74 |R PURPOS|E. See t|
|000002b0| 68 65 20 47 4e 55 20 47 | 65 6e 65 72 61 6c 20 50 |he GNU G|eneral P|
|000002c0| 75 62 6c 69 63 20 4c 69 | 63 65 6e 73 65 20 66 6f |ublic Li|cense fo|
|000002d0| 72 20 6d 6f 72 65 20 64 | 65 74 61 69 6c 73 2e 0d |r more d|etails..|
|000002e0| 0d 46 6f 72 20 61 20 63 | 6f 70 79 20 6f 66 20 74 |.For a c|opy of t|
|000002f0| 68 65 20 47 4e 55 20 47 | 65 6e 65 72 61 6c 20 50 |he GNU G|eneral P|
|00000300| 75 62 6c 69 63 20 4c 69 | 63 65 6e 73 65 2c 20 76 |ublic Li|cense, v|
|00000310| 69 73 69 74 20 3c 68 74 | 74 70 3a 2f 2f 77 77 77 |isit <ht|tp://www|
|00000320| 2e 67 6e 75 2e 6f 72 67 | 2f 3e 20 6f 72 20 77 72 |.gnu.org|/> or wr|
|00000330| 69 74 65 20 74 6f 20 74 | 68 65 20 46 72 65 65 20 |ite to t|he Free |
|00000340| 53 6f 66 74 77 61 72 65 | 20 46 6f 75 6e 64 61 74 |Software| Foundat|
|00000350| 69 6f 6e 2c 20 49 6e 63 | 2e 2c 20 35 39 20 54 65 |ion, Inc|., 59 Te|
|00000360| 6d 70 6c 65 20 50 6c 61 | 63 65 2d 2d 53 75 69 74 |mple Pla|ce--Suit|
|00000370| 65 20 33 33 30 2c 20 42 | 6f 73 74 6f 6e 2c 20 4d |e 330, B|oston, M|
|00000380| 41 20 30 32 31 31 31 2d | 31 33 30 37 2c 20 55 53 |A 02111-|1307, US|
|00000390| 41 2e 0d 0d 54 6f 20 63 | 6f 6e 74 61 63 74 20 6d |A...To c|ontact m|
|000003a0| 65 2c 20 70 6c 65 61 73 | 65 20 76 69 73 69 74 20 |e, pleas|e visit |
|000003b0| 6d 79 20 57 65 62 20 73 | 69 74 65 20 61 74 20 3c |my Web s|ite at <|
|000003c0| 68 74 74 70 3a 2f 2f 77 | 77 77 2e 72 62 69 73 6c |http://w|ww.rbisl|
|000003d0| 61 6e 64 2e 63 78 2f 3e | 20 6f 72 20 65 2d 6d 61 |and.cx/>| or e-ma|
|000003e0| 69 6c 20 6d 65 20 61 74 | 20 3c 72 65 64 62 69 72 |il me at| <redbir|
|000003f0| 64 40 72 62 69 73 6c 61 | 6e 64 2e 63 78 3e 2e 0d |d@rbisla|nd.cx>..|
|00000400| 0d 48 69 73 74 6f 72 79 | 3a 0d 0d 30 2e 31 20 2d |.History|:..0.1 -|
|00000410| 20 4d 61 64 65 20 69 74 | 20 67 65 74 20 74 68 65 | Made it| get the|
|00000420| 20 70 61 72 65 6e 74 20 | 6f 66 20 74 68 65 20 73 | parent |of the s|
|00000430| 63 72 69 70 74 20 77 68 | 65 6e 20 63 6f 6d 70 69 |cript wh|en compi|
|00000440| 6c 65 64 2e 20 20 54 68 | 61 6e 6b 73 20 74 6f 20 |led. Th|anks to |
|00000450| 4c 61 69 6e 65 20 44 2e | 20 4c 65 65 20 3c 6c 6c |Laine D.| Lee <ll|
|00000460| 65 65 40 74 78 64 69 72 | 65 63 74 2e 6e 65 74 3e |ee@txdir|ect.net>|
|00000470| 20 28 77 68 6f 20 63 61 | 6e 20 74 68 61 6e 6b 20 | (who ca|n thank |
|00000480| 42 61 72 72 79 20 57 61 | 69 6e 77 72 69 67 68 74 |Barry Wa|inwright|
|00000490| 20 6f 66 20 74 68 65 20 | 4d 61 63 53 63 72 69 70 | of the |MacScrip|
|000004a0| 74 65 72 20 6d 61 69 6c | 69 6e 67 20 6c 69 73 74 |ter mail|ing list|
|000004b0| 20 66 6f 72 20 69 6e 73 | 70 69 72 61 74 69 6f 6e | for ins|piration|
|000004c0| 29 2e 20 20 49 66 20 79 | 6f 75 20 77 61 6e 74 20 |). If y|ou want |
|000004d0| 74 68 65 20 6f 6c 64 20 | 66 75 6e 63 74 69 6f 6e |the old |function|
|000004e0| 61 6c 69 74 79 2c 20 63 | 6f 6d 6d 65 6e 74 20 6f |ality, c|omment o|
|000004f0| 75 74 20 74 68 65 20 6e | 65 77 20 73 65 63 74 69 |ut the n|ew secti|
|00000500| 6f 6e 20 28 6e 6f 74 65 | 64 20 62 65 6c 6f 77 29 |on (note|d below)|
|00000510| 20 61 6e 64 20 70 75 74 | 20 69 6e 20 74 68 65 20 | and put| in the |
|00000520| 63 6f 6d 6d 65 6e 74 65 | 64 20 6f 75 74 20 6c 69 |commente|d out li|
|00000530| 6e 65 20 49 27 76 65 20 | 69 6e 63 6c 75 64 65 64 |ne I've |included|
|00000540| 20 62 65 6c 6f 77 2e 20 | 20 41 6c 73 6f 20 69 6d | below. | Also im|
|00000550| 70 72 6f 76 65 64 20 73 | 6f 6d 65 20 76 61 72 69 |proved s|ome vari|
|00000560| 61 62 6c 65 20 6e 61 6d | 65 73 2e 0d 30 2e 30 20 |able nam|es..0.0 |
|00000570| 2d 20 49 6e 69 74 69 61 | 6c 20 72 65 6c 65 61 73 |- Initia|l releas|
|00000580| 65 2e 0d 2a 29 0d 0d 6f | 6e 20 72 75 6e 0d 09 2d |e..*)..o|n run..-|
|00000590| 2d 73 74 61 72 74 20 74 | 68 65 20 67 65 74 20 70 |-start t|he get p|
|000005a0| 61 72 65 6e 74 20 73 65 | 63 74 69 6f 6e 2e 20 20 |arent se|ction. |
|000005b0| 74 68 65 73 65 20 6e 65 | 78 74 20 6c 69 6e 65 73 |these ne|xt lines|
|000005c0| 20 61 72 65 20 66 72 6f | 6d 20 4c 61 69 6e 65 20 | are fro|m Laine |
|000005d0| 44 2e 20 4c 65 65 2e 0d | 09 73 65 74 20 74 68 69 |D. Lee..|.set thi|
|000005e0| 73 5f 66 69 6c 65 70 61 | 74 68 20 74 6f 20 70 61 |s_filepa|th to pa|
|000005f0| 74 68 20 74 6f 20 6d 65 | 20 61 73 20 74 65 78 74 |th to me| as text|
|00000600| 0d 09 65 78 74 72 61 63 | 74 5f 70 61 72 65 6e 74 |..extrac|t_parent|
|00000610| 5f 66 6f 6c 64 65 72 5f | 70 61 74 68 5f 66 72 6f |_folder_|path_fro|
|00000620| 6d 28 74 68 69 73 5f 66 | 69 6c 65 70 61 74 68 29 |m(this_f|ilepath)|
|00000630| 0d 09 73 65 74 20 64 6f | 77 6e 6c 6f 61 64 5f 66 |..set do|wnload_f|
|00000640| 6f 6c 64 65 72 20 74 6f | 20 72 65 73 75 6c 74 20 |older to| result |
|00000650| 61 73 20 61 6c 69 61 73 | 20 2d 2d 66 69 6c 65 73 |as alias| --files|
|00000660| 20 77 69 6c 6c 20 62 65 | 20 64 65 6c 65 74 65 64 | will be| deleted|
|00000670| 20 66 72 6f 6d 20 66 6f | 6c 64 65 72 20 77 68 65 | from fo|lder whe|
|00000680| 72 65 20 74 68 69 73 20 | 61 70 70 6c 65 74 20 72 |re this |applet r|
|00000690| 65 73 69 64 65 73 0d 09 | 2d 2d 65 6e 64 20 74 68 |esides..|--end th|
|000006a0| 65 20 67 65 74 20 70 61 | 72 65 6e 74 20 73 65 63 |e get pa|rent sec|
|000006b0| 74 69 6f 6e 0d 09 2d 2d | 75 6e 63 6f 6d 6d 65 6e |tion..--|uncommen|
|000006c0| 74 20 74 68 65 20 6e 65 | 78 74 20 6c 69 6e 65 20 |t the ne|xt line |
|000006d0| 66 6f 72 20 74 68 65 20 | 6f 6c 64 20 66 75 6e 63 |for the |old func|
|000006e0| 74 69 6f 6e 61 6c 69 74 | 79 0d 09 2d 2d 73 65 74 |tionalit|y..--set|
|000006f0| 20 64 6f 77 6e 6c 6f 61 | 64 5f 66 6f 6c 64 65 72 | downloa|d_folder|
|00000700| 20 74 6f 20 22 53 63 6f | 6f 62 79 3a 49 6e 74 65 | to "Sco|oby:Inte|
|00000710| 72 6e 65 74 3a 44 6f 77 | 6e 6c 6f 61 64 73 22 20 |rnet:Dow|nloads" |
|00000720| 2d 2d 72 65 70 6c 61 63 | 65 20 74 68 69 73 20 73 |--replac|e this s|
|00000730| 74 72 69 6e 67 20 77 69 | 74 68 20 70 61 74 68 20 |tring wi|th path |
|00000740| 74 6f 20 64 6f 77 6e 6c | 6f 61 64 20 66 6f 6c 64 |to downl|oad fold|
|00000750| 65 72 0d 09 73 65 74 54 | 79 70 65 49 6e 46 6f 6c |er..setT|ypeInFol|
|00000760| 64 65 72 28 64 6f 77 6e | 6c 6f 61 64 5f 66 6f 6c |der(down|load_fol|
|00000770| 64 65 72 29 0d 65 6e 64 | 20 72 75 6e 0d 0d 0d 6f |der).end| run...o|
|00000780| 6e 20 65 78 74 72 61 63 | 74 5f 70 61 72 65 6e 74 |n extrac|t_parent|
|00000790| 5f 66 6f 6c 64 65 72 5f | 70 61 74 68 5f 66 72 6f |_folder_|path_fro|
|000007a0| 6d 28 74 68 69 73 5f 66 | 69 6c 65 70 61 74 68 29 |m(this_f|ilepath)|
|000007b0| 20 2d 2d 6d 6f 72 65 20 | 66 72 6f 6d 20 4c 61 69 | --more |from Lai|
|000007c0| 6e 65 0d 09 73 65 74 20 | 74 68 69 73 5f 66 69 6c |ne..set |this_fil|
|000007d0| 65 70 61 74 68 20 74 6f | 20 74 68 69 73 5f 66 69 |epath to| this_fi|
|000007e0| 6c 65 70 61 74 68 20 61 | 73 20 74 65 78 74 0d 09 |lepath a|s text..|
|000007f0| 73 65 74 20 78 20 74 6f | 20 74 68 65 20 6f 66 66 |set x to| the off|
|00000800| 73 65 74 20 6f 66 20 22 | 3a 22 20 69 6e 20 28 74 |set of "|:" in (t|
|00000810| 68 65 20 72 65 76 65 72 | 73 65 20 6f 66 20 65 76 |he rever|se of ev|
|00000820| 65 72 79 20 63 68 61 72 | 61 63 74 65 72 20 c2 0d |ery char|acter ..|
|00000830| 09 09 6f 66 20 74 68 69 | 73 5f 66 69 6c 65 70 61 |..of thi|s_filepa|
|00000840| 74 68 29 20 61 73 20 73 | 74 72 69 6e 67 0d 09 73 |th) as s|tring..s|
|00000850| 65 74 20 74 68 65 20 70 | 61 72 65 6e 74 5f 66 6f |et the p|arent_fo|
|00000860| 6c 64 65 72 5f 70 61 74 | 68 20 74 6f 20 28 63 68 |lder_pat|h to (ch|
|00000870| 61 72 61 63 74 65 72 73 | 20 31 20 74 68 72 75 20 |aracters| 1 thru |
|00000880| 2d 28 78 29 20 6f 66 20 | c2 0d 09 09 74 68 69 73 |-(x) of |....this|
|00000890| 5f 66 69 6c 65 70 61 74 | 68 29 20 61 73 20 74 65 |_filepat|h) as te|
|000008a0| 78 74 0d 09 72 65 74 75 | 72 6e 20 74 68 65 20 70 |xt..retu|rn the p|
|000008b0| 61 72 65 6e 74 5f 66 6f | 6c 64 65 72 5f 70 61 74 |arent_fo|lder_pat|
|000008c0| 68 0d 65 6e 64 20 65 78 | 74 72 61 63 74 5f 70 61 |h.end ex|tract_pa|
|000008d0| 72 65 6e 74 5f 66 6f 6c | 64 65 72 5f 70 61 74 68 |rent_fol|der_path|
|000008e0| 5f 66 72 6f 6d 0d 0d 6f | 6e 20 6f 70 65 6e 20 74 |_from..o|n open t|
|000008f0| 68 65 49 74 65 6d 73 0d | 09 74 65 6c 6c 20 61 70 |heItems.|.tell ap|
|00000900| 70 6c 69 63 61 74 69 6f | 6e 20 22 46 69 6e 64 65 |plicatio|n "Finde|
|00000910| 72 22 0d 09 09 72 65 70 | 65 61 74 20 77 69 74 68 |r"...rep|eat with|
|00000920| 20 61 6e 49 74 65 6d 20 | 69 6e 20 74 68 65 49 74 | anItem |in theIt|
|00000930| 65 6d 73 0d 09 09 09 69 | 66 20 61 6e 49 74 65 6d |ems....i|f anItem|
|00000940| 27 73 20 6b 69 6e 64 20 | 69 73 20 22 66 6f 6c 64 |'s kind |is "fold|
|00000950| 65 72 22 20 74 68 65 6e | 0d 09 09 09 09 6d 79 20 |er" then|.....my |
|00000960| 73 65 74 54 79 70 65 49 | 6e 46 6f 6c 64 65 72 28 |setTypeI|nFolder(|
|00000970| 61 6e 49 74 65 6d 29 0d | 09 09 09 65 6c 73 65 20 |anItem).|...else |
|00000980| 2d 2d 74 68 69 73 20 69 | 6e 63 6c 75 64 65 73 20 |--this i|ncludes |
|00000990| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 2c 20 77 68 |applicat|ions, wh|
|000009a0| 69 63 68 20 63 6f 75 6c | 64 20 6d 61 79 62 65 20 |ich coul|d maybe |
|000009b0| 63 61 75 73 65 20 70 72 | 6f 62 6c 65 6d 73 20 73 |cause pr|oblems s|
|000009c0| 69 6e 63 65 20 74 68 65 | 20 63 68 61 6e 67 65 73 |ince the| changes|
|000009d0| 20 6d 61 64 65 20 63 6f | 75 6c 64 20 6d 61 6b 65 | made co|uld make|
|000009e0| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication|
|000009f0| 73 20 6e 6f 74 20 73 65 | 65 6d 20 74 6f 20 62 65 |s not se|em to be|
|00000a00| 20 61 70 70 73 20 61 6e | 79 20 6d 6f 72 65 0d 09 | apps an|y more..|
|00000a10| 09 09 09 6d 79 20 73 65 | 74 54 79 70 65 28 61 6e |...my se|tType(an|
|00000a20| 49 74 65 6d 29 0d 09 09 | 09 65 6e 64 20 69 66 0d |Item)...|.end if.|
|00000a30| 09 09 65 6e 64 20 72 65 | 70 65 61 74 0d 09 65 6e |..end re|peat..en|
|00000a40| 64 20 74 65 6c 6c 0d 09 | 62 65 65 70 0d 65 6e 64 |d tell..|beep.end|
|00000a50| 20 6f 70 65 6e 0d 0d 6f | 6e 20 73 65 74 54 79 70 | open..o|n setTyp|
|00000a60| 65 49 6e 46 6f 6c 64 65 | 72 28 61 46 6f 6c 64 65 |eInFolde|r(aFolde|
|00000a70| 72 29 0d 09 74 65 6c 6c | 20 61 70 70 6c 69 63 61 |r)..tell| applica|
|00000a80| 74 69 6f 6e 20 22 46 69 | 6e 64 65 72 22 0d 09 09 |tion "Fi|nder"...|
|00000a90| 73 65 74 20 61 46 6f 6c | 64 65 72 4c 69 73 74 20 |set aFol|derList |
|00000aa0| 74 6f 20 6c 69 73 74 20 | 66 6f 6c 64 65 72 20 61 |to list |folder a|
|00000ab0| 46 6f 6c 64 65 72 0d 09 | 09 72 65 70 65 61 74 20 |Folder..|.repeat |
|00000ac0| 77 69 74 68 20 61 6e 49 | 74 65 6d 20 69 6e 20 61 |with anI|tem in a|
|00000ad0| 46 6f 6c 64 65 72 4c 69 | 73 74 0d 09 09 09 74 72 |FolderLi|st....tr|
|00000ae0| 79 0d 09 09 09 09 2d 2d | 62 65 63 61 75 73 65 20 |y.....--|because |
|00000af0| 6c 69 73 74 20 66 6f 6c | 64 65 72 20 70 72 6f 64 |list fol|der prod|
|00000b00| 75 63 65 73 20 61 20 6c | 69 73 74 20 6f 66 20 73 |uces a l|ist of s|
|00000b10| 74 72 69 6e 67 73 2c 20 | 61 6c 69 61 73 65 73 20 |trings, |aliases |
|00000b20| 6d 75 73 74 20 62 65 20 | 66 6f 72 6d 65 64 20 74 |must be |formed t|
|00000b30| 6f 20 74 68 65 20 64 65 | 73 69 72 65 64 20 66 69 |o the de|sired fi|
|00000b40| 6c 65 73 20 61 6e 64 20 | 66 6f 6c 64 65 72 73 0d |les and |folders.|
|00000b50| 09 09 09 09 69 66 20 61 | 6c 69 61 73 20 28 28 61 |....if a|lias ((a|
|00000b60| 46 6f 6c 64 65 72 20 61 | 73 20 73 74 72 69 6e 67 |Folder a|s string|
|00000b70| 29 20 26 20 61 6e 49 74 | 65 6d 29 27 73 20 6b 69 |) & anIt|em)'s ki|
|00000b80| 6e 64 20 69 73 20 22 66 | 6f 6c 64 65 72 22 20 74 |nd is "f|older" t|
|00000b90| 68 65 6e 0d 09 09 09 09 | 09 2d 2d 70 61 73 73 2c |hen.....|.--pass,|
|00000ba0| 20 62 65 63 61 75 73 65 | 20 77 65 20 64 6f 6e 27 | because| we don'|
|00000bb0| 74 20 77 61 6e 74 20 74 | 68 69 73 20 74 6f 20 62 |t want t|his to b|
|00000bc0| 65 20 72 65 63 75 72 73 | 69 76 65 20 28 61 6e 20 |e recurs|ive (an |
|00000bd0| 61 72 63 68 69 76 65 20 | 6d 69 67 68 74 20 63 6f |archive |might co|
|00000be0| 6e 74 61 69 6e 20 63 6f | 6d 70 72 65 73 73 65 64 |ntain co|mpressed|
|00000bf0| 20 66 69 6c 65 73 20 74 | 68 61 74 20 77 65 20 77 | files t|hat we w|
|00000c00| 61 6e 74 20 74 6f 20 6b | 65 65 70 20 61 72 6f 75 |ant to k|eep arou|
|00000c10| 6e 64 20 75 6e 74 69 6c | 20 65 78 70 61 6e 64 65 |nd until| expande|
|00000c20| 64 2e 0d 09 09 09 09 65 | 6c 73 65 0d 09 09 09 09 |d......e|lse.....|
|00000c30| 09 6d 79 20 73 65 74 54 | 79 70 65 28 61 6c 69 61 |.my setT|ype(alia|
|00000c40| 73 20 28 28 61 46 6f 6c | 64 65 72 20 61 73 20 73 |s ((aFol|der as s|
|00000c50| 74 72 69 6e 67 29 20 26 | 20 61 6e 49 74 65 6d 29 |tring) &| anItem)|
|00000c60| 29 0d 09 09 09 09 65 6e | 64 20 69 66 0d 09 09 09 |).....en|d if....|
|00000c70| 6f 6e 20 65 72 72 6f 72 | 0d 09 09 09 09 2d 2d 68 |on error|.....--h|
|00000c80| 69 74 20 61 6e 20 69 6e | 76 69 73 69 62 6c 65 0d |it an in|visible.|
|00000c90| 09 09 09 65 6e 64 20 74 | 72 79 0d 09 09 65 6e 64 |...end t|ry...end|
|00000ca0| 20 72 65 70 65 61 74 0d | 09 65 6e 64 20 74 65 6c | repeat.|.end tel|
|00000cb0| 6c 0d 65 6e 64 20 73 65 | 74 54 79 70 65 49 6e 46 |l.end se|tTypeInF|
|00000cc0| 6f 6c 64 65 72 0d 0d 6f | 6e 20 73 65 74 54 79 70 |older..o|n setTyp|
|00000cd0| 65 28 61 6e 49 74 65 6d | 29 0d 09 74 65 6c 6c 20 |e(anItem|)..tell |
|00000ce0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 22 46 69 6e |applicat|ion "Fin|
|00000cf0| 64 65 72 22 0d 09 09 74 | 72 79 0d 09 09 09 69 66 |der"...t|ry....if|
|00000d00| 20 61 6e 49 74 65 6d 27 | 73 20 6e 61 6d 65 20 65 | anItem'|s name e|
|00000d10| 6e 64 73 20 77 69 74 68 | 20 22 2e 73 69 74 22 20 |nds with| ".sit" |
|00000d20| 6f 72 20 61 6e 49 74 65 | 6d 27 73 20 6e 61 6d 65 |or anIte|m's name|
|00000d30| 20 65 6e 64 73 20 77 69 | 74 68 20 22 2e 68 71 78 | ends wi|th ".hqx|
|00000d40| 22 20 6f 72 20 61 6e 49 | 74 65 6d 27 73 20 6e 61 |" or anI|tem's na|
|00000d50| 6d 65 20 65 6e 64 73 20 | 77 69 74 68 20 22 2e 73 |me ends |with ".s|
|00000d60| 65 61 22 20 6f 72 20 c2 | 0d 09 09 09 09 61 6e 49 |ea" or .|.....anI|
|00000d70| 74 65 6d 27 73 20 6e 61 | 6d 65 20 65 6e 64 73 20 |tem's na|me ends |
|00000d80| 77 69 74 68 20 22 2e 67 | 7a 22 20 6f 72 20 61 6e |with ".g|z" or an|
|00000d90| 49 74 65 6d 27 73 20 6e | 61 6d 65 20 65 6e 64 73 |Item's n|ame ends|
|00000da0| 20 77 69 74 68 20 22 2e | 74 61 72 22 20 6f 72 20 | with ".|tar" or |
|00000db0| 61 6e 49 74 65 6d 27 73 | 20 6e 61 6d 65 20 65 6e |anItem's| name en|
|00000dc0| 64 73 20 77 69 74 68 20 | 22 2e 7a 69 70 22 20 6f |ds with |".zip" o|
|00000dd0| 72 20 c2 0d 09 09 09 09 | 61 6e 49 74 65 6d 27 73 |r ......|anItem's|
|00000de0| 20 6e 61 6d 65 20 65 6e | 64 73 20 77 69 74 68 20 | name en|ds with |
|00000df0| 22 2e 62 69 6e 22 20 6f | 72 20 61 6e 49 74 65 6d |".bin" o|r anItem|
|00000e00| 27 73 20 6e 61 6d 65 20 | 65 6e 64 73 20 77 69 74 |'s name |ends wit|
|00000e10| 68 20 22 2e 74 67 7a 22 | 20 74 68 65 6e 0d 09 09 |h ".tgz"| then...|
|00000e20| 09 09 6d 6f 76 65 20 61 | 6e 49 74 65 6d 20 74 6f |..move a|nItem to|
|00000e30| 20 74 72 61 73 68 0d 09 | 09 09 65 6e 64 20 69 66 | trash..|..end if|
|00000e40| 0d 09 09 6f 6e 20 65 72 | 72 6f 72 0d 09 09 09 2d |...on er|ror....-|
|00000e50| 2d 68 69 74 20 61 20 6e | 61 73 74 79 20 66 69 6c |-hit a n|asty fil|
|00000e60| 65 2c 20 77 68 69 63 68 | 20 77 61 73 20 6d 6f 73 |e, which| was mos|
|00000e70| 74 20 6c 69 6b 65 6c 79 | 20 61 6e 20 69 6e 76 69 |t likely| an invi|
|00000e80| 73 69 62 6c 65 0d 09 09 | 65 6e 64 20 74 72 79 0d |sible...|end try.|
|00000e90| 09 65 6e 64 20 74 65 6c | 6c 0d 65 6e 64 20 73 65 |.end tel|l.end se|
|00000ea0| 74 54 79 70 65 00 00 00 | 00 00 00 00 00 00 00 00 |tType...|........|
|00000eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f00| 00 00 01 00 00 00 01 36 | 00 00 00 36 00 00 00 46 |.......6|...6...F|
|00000f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 00 1a 40 00 00 00 | 00 00 00 00 00 00 00 00 |....@...|........|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 14 00 2f 00 03 02 15 | 02 cc 00 2b 00 07 02 50 |.../....|...+...P|
|00001030| 02 d0 00 01 00 00 00 00 | 01 00 00 00 01 36 00 00 |........|.....6..|
|00001040| 00 36 00 00 00 46 05 e4 | 6d dc 03 5a 00 00 00 1c |.6...F..|m..Z....|
|00001050| 00 46 00 01 73 63 73 7a | 00 00 00 12 57 50 6f 73 |.F..scsz|....WPos|
|00001060| 00 00 00 1e 00 00 ff ff | 00 00 00 00 05 e4 7d 48 |........|......}H|
|00001070| 00 80 ff ff 00 00 00 1e | 05 e4 7d 4c 00 00 00 00 |........|..}L....|
+--------+-------------------------+-------------------------+--------+--------+